import  request  from "../utils/request";

export const login = (account: ILoginAcount) => request<any, ILoginSuccess>({
    url: '/api/v1/admin/sessions',
    method: 'post',
    data: account
  })